// --- 官方样式 ---
@import "~antd/lib/card/style/index.less";
// --- 自定义样式 ---
@import "~@next-core/custom-antd-styles/src/var.less";
@import "~@next-core/custom-antd-styles/src/card.less";

.ant-card .ant-card-body {
  padding: 0;
}

:host {
  display: block;
}
:host([hidden]) {
  display: none;
}

::slotted([slot="content"]) {
  position: relative;
  padding: 20px;
  min-width: 0;
  min-height: 0;
}

::slotted(.columns-card-no-padding) {
  padding: 0;
}

::slotted([slot="content"]:not(:last-child))::after {
  content: "";
  position: absolute;
  width: 1px;
  top: 0;
  right: 0;
  height: 100%;
  border-right: var(--card-inner-border);
}

.multiple-columns-container {
  display: grid;
  grid-template-rows: auto;
}
